package io.github.handyang.algorithms.search;

import org.junit.Test;

public class SearchCompare {

    private SearchTest searchTest = new SearchTest();

    @Test
    public void compareBSTvsOrderSearch(){
        searchTest.testBST();
        searchTest.testOrderSearch();
    }

    @Test
    public void compareBSTvsRedBlack() throws Exception{
        searchTest.testBST();
        searchTest.testRedBlackBST();
    }

    @Test
    public void compareLinkHashSTvsRedBlack() throws Exception{
        searchTest.testLinkHashST();
        searchTest.testRedBlackBST();
    }

    @Test
    public void compareAllST() throws Exception{
        searchTest.testBST();
        searchTest.testRedBlackBST();
        searchTest.testLinkHashST();
    }
}
